package club.xyes.zkh.ecommerce.web.backstage.controller;

import club.xyes.zkh.ecommerce.commons.entity.User;
import club.xyes.zkh.ecommerce.service.UserService;
import club.xyes.zkh.ecommerce.web.controller.BaseController;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Create by 郭文梁 2019/4/16 0016 17:08
 * UserController
 * 用户相关数据访问控制器
 *
 * @author 郭文梁
 * @data 2019/4/16 0016
 */
@RestController
@RequestMapping("/backstage/user")
@Api("用户相关接口")
public class UserController extends BaseController<User> {
    private final UserService userService;

    public UserController(UserService userService) {
        super(userService);
        this.userService = userService;
    }
}
